package com.neuedu.elmserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.elmserver.pojo.Orders;
import com.neuedu.elmserver.vo.ResultVO;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author wyh
 * @since 2024-11-07
 */
public interface OrdersService extends IService<Orders> {

    ResultVO getOrderById(Integer id);
    ResultVO getBusinessByOrderId(Integer order_Id);
    ResultVO changeStatus(Integer order_Id);
    public ResultVO listOrder(Integer userId);
    public ResultVO listOrderByID( Integer userId);
    public ResultVO getOrderItemsByUserId(Integer userId);


    ResultVO createOrders(Integer userId, Integer businessId, Integer addressId, Double total);
}
